import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 25228
 * Date: 2024-09-29
 * Time: 10:04
 */
public class Test {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        String s=scanner.nextLine();
        huiWen(s);
    }
    //回文数
    public static void huiWen(String s){
        int i=0;
        int j=s.length()-1;
        boolean f=true;
        while (i<=j){
            if(s.charAt(i)!=s.charAt(j)){
                f=false;
                break;
            }
            i++;
            j--;
        }
        if(f){
            System.out.println("是回文数");
        }
    }
}
